package com.demo.project_template.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 系统配置
 * </p>
 *
 * @author 杨玉龙
 * @since 2023-06-19 15:56:44
 */
@Data
@TableName("t_system_config")
@ApiModel(value = "SystemConfig对象", description = "系统配置")
public class SystemConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("系统配置 PK")
      @TableId(value = "config_id", type = IdType.AUTO)
    private Integer configId;

    @ApiModelProperty("隐私条款")
    @TableField("privacy_clause")
    private String privacyClause;

    @ApiModelProperty("服务协议")
    @TableField("service_agreement")
    private String serviceAgreement;

    @ApiModelProperty("平台logo")
    @TableField("platform_logo")
    private String platformLogo;

    @ApiModelProperty("平台名称")
    @TableField("platform_name")
    private String platformName;

    @ApiModelProperty("平台客服照片")
    @TableField("platform_customer_service_url")
    private String platformCustomerServiceUrl;

    @ApiModelProperty("平台客服手机号码")
    @TableField("platform_customer_service_tel")
    private String platformCustomerServiceTel;

    @ApiModelProperty("是否删除(0=否，1=是)")
    @TableField("is_delete")
    @TableLogic
    private String isDelete;

    @ApiModelProperty("创建时间")
      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty("更新时间")
      @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
